<?php



/**
 * Skeleton subclass for representing a row from the 'competance_groups' table.
 *
 *
 *
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package    propel.generator.empeval
 */
class EmpevalCompetanceGroups extends EmpevalBaseCompetanceGroups
{
	
	public function getName() {
		if (!(Empeval_Core::getInstance()->getApp() instanceof Empeval_Methods_Data_App))
			return $this->getNamePl();
		if (Empeval_Core::getInstance()->getApp()->lang == 'en')
			return $this->getNameEn();
		return $this->getNamePl();
	}
	
}
